package com.ruoyi.category.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 地图对象 sys_terrain
 * 
 * @author yjf
 * @date 2022-07-14
 */
public class SysTerrain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long terrainId;

    /** 名称 */
    private String terrainName;

    /** 图片地址 */
    private String terrainImage;

    /** 显示顺序 */
    private Integer terrainSort;

    /** 状态:0正常1停用 */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setTerrainId(Long terrainId) 
    {
        this.terrainId = terrainId;
    }

    public Long getTerrainId() 
    {
        return terrainId;
    }
    public void setTerrainName(String terrainName) 
    {
        this.terrainName = terrainName;
    }

    public String getTerrainName() 
    {
        return terrainName;
    }
    public void setTerrainImage(String terrainImage) 
    {
        this.terrainImage = terrainImage;
    }

    public String getTerrainImage() 
    {
        return terrainImage;
    }
    public void setTerrainSort(Integer terrainSort) 
    {
        this.terrainSort = terrainSort;
    }

    public Integer getTerrainSort() 
    {
        return terrainSort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("terrainId", getTerrainId())
            .append("terrainName", getTerrainName())
            .append("terrainImage", getTerrainImage())
            .append("remark", getRemark())
            .append("terrainSort", getTerrainSort())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
